diff options
| author | Adam Soltys <[email protected]> | 2024-04-18 11:44:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-04-18 11:44:28 -0700 |
| commit | 6d7102b2e5f88084a75d242bd8e4f44f139993cf (patch) | |
| tree | 15d43f281ac56f2b8e431331dcd0c5c47cde1c9d /src/routes/(app)/[username] | |
| parent | 066c99a97ce2e7481120b8d4685961c907d15731 (diff) | |
| download | coinos-ui-6d7102b2e5f88084a75d242bd8e4f44f139993cf.tar.gz coinos-ui-6d7102b2e5f88084a75d242bd8e4f44f139993cf.zip | |
checkout tweaks
Diffstat (limited to 'src/routes/(app)/[username]')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+page.svelte | 2 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/invoice/[id]/+page.svelte | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+page.svelte b/src/routes/(app)/[username]/(profile)/+page.svelte index 9fe179eb..9a34117e 100644 --- a/src/routes/(app)/[username]/(profile)/+page.svelte +++ b/src/routes/(app)/[username]/(profile)/+page.svelte @@ -294,7 +294,7 @@ </div> </div> </button> - {:else if user.username !== subject.username} + {:else if user?.username !== subject.username} <a href={`/pay/${subject.username}`} class="contents"> <button class="rounded-2xl py-5 px-6 font-bold hover:bg-neutral-700 flex bg-black text-white mx-auto" diff --git a/src/routes/(app)/[username]/invoice/[id]/+page.svelte b/src/routes/(app)/[username]/invoice/[id]/+page.svelte index c1f55fd0..1a569039 100644 --- a/src/routes/(app)/[username]/invoice/[id]/+page.svelte +++ b/src/routes/(app)/[username]/invoice/[id]/+page.svelte @@ -179,11 +179,11 @@ <button type="button" - class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-5 px-6 w-full mx-auto justify-center border bg-black text-white text-xl whitespace-nowrap" + class="flex gap-2 text-center break-all rounded-2xl hover:opacity-80 py-5 px-6 w-full mx-auto justify-center border text-xl whitespace-nowrap" on:click={() => copy(txt)} > - <Icon icon="copy" style="w-8 my-auto invert" /> - <div class="my-auto font-bold"> + <Icon icon="copy" style="w-8 my-auto" /> + <div class="my-auto"> {txt.substr(0, 11)}..{txt.substr(-10)} </div> </button> |
